package com.biz.primus.model.member.enums;

import com.biz.primus.common.enums.EnumerableValue;
import com.biz.primus.common.enums.converter.BaseEnumValueConverter;

/**
 * 足迹动作
 *
 * @author jun.liu
 * @date 2017年10月12日
 * @reviewer
 * @see
 */
public enum FootprintActionTypes implements EnumerableValue
{
    VIEW(0,"浏览商品"),
    COLLECT(1,"收藏商品"),
    ADD_TO_CART(2,"添加到购物车"),
    DELETE_FROM_CART(3,"从购物车删除"),
    ;

    public static class Converter extends BaseEnumValueConverter<FootprintActionTypes> {}

    private int value;
    private String desc;

    private FootprintActionTypes(int value, String desc)
    {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public int getValue()
    {
        return value;
    }

    public void setValue(int value)
    {
        this.value = value;
    }

    public String getDesc()
    {
        return desc;
    }

    public void setDesc(String desc)
    {
        this.desc = desc;
    }


}
